package com.gj.subclass.service;

import com.gj.subclass.model.SubClassAddVo;
import com.gj.subclass.model.SubClassSelectVo;
import com.gj.subclass.model.SubClassUpdateStatusVo;
import com.gj.subclass.model.SubClassUpdateVo;
import com.gj.utli.ResultVo;

import javax.validation.Valid;

/**
 * Created by Tangyunhen on 2021-06-24.
 */
public interface  SubClassService {
    ResultVo queryPage(SubClassSelectVo subClassSelectVo);

    ResultVo add(SubClassAddVo subClassAddVo);

    ResultVo update(@Valid SubClassUpdateVo subClassUpdateVo);

    ResultVo updatestatus(@Valid SubClassUpdateStatusVo subClassUpdateStatusVo);

    ResultVo see(Integer id);
}
